home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19970104-19970326
/
000472_news@columbia.edu _Mon Mar 24 14:21:30 1997.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id OAA16044
for <kermit.misc@watsun.cc.columbia.edu>; Mon, 24 Mar 1997 14:21:29 -0500 (EST)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id OAA02696
for kermit.misc@watsun; Mon, 24 Mar 1997 14:21:28 -0500 (EST)
Path: news.columbia.edu!watsun.cc.columbia.edu!fdc
From: fdc@watsun.cc.columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Start telnet connection using K95
Date: 24 Mar 1997 19:21:23 GMT
Organization: Columbia University
Lines: 21
Message-ID: <5h6k7j$pmd$1@apakabar.cc.columbia.edu>
References: <333670DC.F39@cdiv.azl.nl>
NNTP-Posting-Host: watsun.cc.columbia.edu
Xref: news.columbia.edu comp.protocols.kermit.misc:6804
In article <333670DC.F39@cdiv.azl.nl>, Mark Barto <MBarto@cdiv.azl.nl> wrote:
: I'm starting a telnet session, using the command line, like:
: k95.exe -J hostname. Depending on the hostname I want to set some extra
: funtions in the script. (session colors etc.)
: I tried to read the \v(line) from K95custom.ini but this returns the
: value 0. Once the telnet session is started this variable shows the
: right session name that I can use in my scripts. This is to late for my
: telnet session because the script is alreade finished at this time.
: How can I work arround this problem??
:
It's a question of knowing the order in which Kermit 95 executes commands
from the various sources: command line, init file, "application file", etc.
The initialization file (including K95CUSTOM.INI) is executed before the
command line options, as you discovered. So:
kermit -J hostname -C "take commandfile"
where hostname is the host you want to connect to, and commandfile is the
name of a Kermit command file.
- Frank